import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'vant/lib/index.css'
import {PullRefresh,List,Popup,Grid,GridItem,AddressEdit,AddressList, Icon,SubmitBar,CheckboxGroup,SwipeCell,Stepper,Checkbox,Field,Form,Image as VanImage,Swipe, SwipeItem,Lazyload,Badge,Sidebar,SidebarItem,Collapse,CollapseItem,Tab,Tabs,Card,Tag,Button  } from 'vant';

createApp(App)
    .use(Swipe).use(SwipeItem).use(Lazyload,{
        loading:require('./assets/images/default.png')
    }).use(Badge).use(Sidebar).use(SidebarItem)
    .use(Collapse).use(CollapseItem).use(Tab).use(Tabs)
    .use(Card).use(VanImage).use(Tag).use(Button)
    .use(Field).use(Form).use(Checkbox).use(Stepper)
    .use(SwipeCell).use(CheckboxGroup).use(SubmitBar)
    .use(Icon).use(AddressList).use(AddressEdit).use(GridItem)
    .use(Grid).use(Popup).use(List).use(PullRefresh)
    .use(store).use(router).mount('#app')
